package org.lanqiao.strategy;

import javax.print.DocFlavor.READER;

import org.junit.Test;

public class TestRedDuck {

	@Test
	public void Test(){
		RedDuck rd=new RedDuck();
		rd.FlyPerformBehavor();
		rd.QuackPerformBehavor();
		rd.display();
		rd.setFlybehaviour(new NoWayFly());
		rd.FlyPerformBehavor();
	}
}
